package com.example.presentshopping.ui.activity

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.presentshopping.R
import com.example.presentshopping.config.base.BaseMvpActivity
import kotlinx.android.synthetic.main.activity_earnings.*

class EarningsActivity : BaseMvpActivity() {

    var  teleText :String ?=null

    override val layoutId: Int
        get() = R.layout.activity_earnings

    override fun initView(savedInstanceState: Bundle?) {
        title_main_tv.leftBackImageTv.setOnClickListener { finish() }
        teleText = intent?.getStringExtra("teleText")

        title_main_tv?.titleTv?.text =teleText
    }

    override fun showToast(msg: String?) {

    }

    override fun onSuccess(data: String?) {

    }

    override fun onFailure(e: Throwable?, code: Int, msg: String?, isNetWorkError: Boolean) {

    }
}